package site.koudai.cloud.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("`order`")
public class Order {
    private Integer id;
    private Integer userId;
    private Integer productId;
    private String productName;
    private Integer productPrice;
    private Integer status;
    private Integer deptId;
    private Integer amount;

    @TableField(exist = false)
    private String deptName;

    @TableField(exist = false)
    private String username;
}
